package com.iweb.pojo;

import java.util.ArrayList;
import java.util.List;

/*
 *作者：lth
 *时间：2020/8/11 16:59
 *描述：
 */
public class Good {
    private String gid;
    private String title;
    private Double price;
    private String content;
    private String activePath; // 显示的图片
    private List<String> listPath = new ArrayList<>(); // 所有图片的路径
    private String cid;

    public int getOrders() {
        return orders;
    }

    public void setOrders(int orders) {
        this.orders = orders;
    }

    private int orders;

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getActivePath() {
        return activePath;
    }

    public void setActivePath(String activePath) {
        this.activePath = activePath;
    }

    public List<String> getListPath() {
        return listPath;
    }

    public void setListPath(List<String> listPath) {
        this.listPath = listPath;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    @Override
    public String toString() {
        return "Good{" +
                "gid='" + gid + '\'' +
                ", title='" + title + '\'' +
                ", price=" + price +
                ", content='" + content + '\'' +
                ", activePath='" + activePath + '\'' +
                ", listPath=" + listPath +
                ", cid='" + cid + '\'' +
                '}';
    }
}
